<?php


namespace App\Http\service;


class ValidateService
{
    public static $CmsLoginRule=[
        'username'=>'required',
        'password'=>'required'
    ];

    public static $CmsLoginMessage=[
      'username.required'=>'账号不能为空',
      'password.requird'=>'密码不能为空'
    ];

    public static $setPasswordRule=[
        "o_password"=>"required",
        "n_password"=>"required",
        "r_password"=>"required",
    ];

    public static $setPasswordMessage=[
        "o_password.required"=>"请输入旧密码",
        "n_password.required"=>"请输入新密码",
        "r_password.required"=>"请再次输入密码",
    ];

    public static $appointmentRule=[
        "phone"=>"required",

    ];

    public static $appointmentMessage=[
        "phone.requird"=>"请输入预约电话",

    ];


}
